﻿// © 2005 IDesign Inc. All rights reserved 
//Questions? Comments? go to 
//http://www.idesign.net

using System;
using System.Web.Services;

[WebService(Name="IRoleManager",Namespace="http://CredentialsServices",
 Description="IRoleManager is used to create and delete roles, as well as assigning or removing users from roles. This web service is only the definition of the interface. You cannot invoke method calls on it.")]
abstract class IRoleManagerShim : IRoleManager
{
   public abstract void AddUsersToRole(string application,string[] userNames,string role);
   public abstract void AddUsersToRoles(string application,string[] userNames,string[] roles);
   public abstract void AddUserToRole(string application,string userName,string role);
   public abstract void AddUserToRoles(string application,string userName,string[] roles);
   public abstract void CreateRole(string application,string role);
   public abstract bool DeleteRole(string application,string role,bool throwOnPopulatedRole);
   public abstract void DeleteAllRoles(string application,bool throwOnPopulatedRole);
   public abstract string[] GetAllRoles(string application);
   public abstract string[] GetRolesForUser(string application,string userName);
   public abstract string[] GetUsersInRole(string application,string role);
   public abstract bool IsRolesEnabled(string application);
   public abstract bool RoleExists(string application,string role);
   public abstract void RemoveUserFromRole(string application,string userName,string roleName);
   public abstract void RemoveUserFromRoles(string application,string userName,string[] roles);
   public abstract void RemoveUsersFromRole(string application,string[] users,string role);
   public abstract void RemoveUsersFromRoles(string application,string[] users,string[] roles);
}
